package com.peas.platform.module.icims.budget.adjust.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.BudgetNewItemRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.po.BudgetNewItemPo;
import com.peas.platform.module.icims.budget.adjust.domain.BudgetNewItemDomain;
import com.peas.platform.module.icims.budget.adjust.dto.BudgetNewItemDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetNewItemDomainImpl extends BaseDomainImpl<BudgetNewItemDto, BudgetNewItemPo> implements BudgetNewItemDomain {

    @Resource
    private BudgetNewItemRepository budgetNewItemRepository;

    @Override
    public BaseRepository<BudgetNewItemPo> getMapper() {
        return budgetNewItemRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetNewItemPo>> getRepositoryClass() {
        return BudgetNewItemRepository.class;
    }

}
